package com.leeh.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.leeh.dao.impl.UserDaoImpl;
import com.leeh.pojo.User;
import com.leeh.service.UserService;

@Service
public class UserServiceImpl implements UserService {

	@Autowired
	private UserDaoImpl userDaoImpl;

	@Transactional
	public void saveUser(User user) {
		userDaoImpl.saveUser(user);
	}

}
